package com.tobestronger.mypay.service;

import java.security.GeneralSecurityException;
import java.util.Map;

public interface WxPayService {

    Map<String, Object> nativePay(Long productId) throws Exception;


    void processOrder(Map<String, Object> bodyMap) throws GeneralSecurityException;

    void checkOrderStatus(String orderNo) throws Exception;


    void cancelOrder(String orderNo) throws Exception;


    void refund(String orderNo, String reason) throws Exception;



    void processRefund(Map<String, Object> bodyMap) throws Exception;



    String queryRefund(String orderNo) throws Exception;



    void checkRefundStatus(String refundNo) throws Exception;


    String queryBill(String billDate, String type) throws Exception;

    String downloadBill(String billDate, String type) throws Exception;

}
